package ooday03.homework.myclass;

import ooday03.homework.impl.Swim;

public class Flsh extends Animal implements Swim {
    public Flsh(){}
    public Flsh(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    public void swim(){
        System.out.println(color+"色的"+age+"岁的"+name+"正在喝水...");

    }

    @Override
    public void eat(){
        System.out.println(color+"色的"+age+"岁的"+name+"正在吃虾米...");

    }


}
